import {observe} from "./observe";
import Watcher from "./Watcher";
var obj = {
  a:{
    m:{
      n: 2
    }
  },
  g:[22,33,44,55]
}
console.log(observe(obj));
console.log(obj);
new Watcher(obj,'a.m.n',(val)=>{
  console.log( '★',val)
})
obj.a.m.n =99
